import { IRouteComponentProps } from 'umi'
import Header from "@/components/Header";
import Footer from '@/components/Footer';
// 不同的全局 layout
export default function PageLayout({ children, location, route, history, match }: IRouteComponentProps) {
  return <div className='wrapper'>
    <Header />
    <main>
      {children}
      <Footer />
    </main>
  </div>
}
